WordDocumentReplace(IListString, IListString, ReplaceIn) Method
Replaces all occurrences of a specified oldText with newText.
Namespace: Independentsoft.Office.WordAssembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
public void Replace(
IList<string> oldText,
IList<string> newText,
ReplaceIn replaceIn
)
Public Sub Replace (
oldText As IList(Of String),
newText As IList(Of String),
replaceIn As ReplaceIn
)
Parameters
- oldText IListString
- An array of strings to replace.
- newText IListString
- An array of strings that replaces oldText.
- replaceIn ReplaceIn
- Replace scope.